package com.macro.mall.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.macro.mall.dto.BmsNarratorThemeParam;
import com.macro.mall.model.BmsNarratorTheme;
import com.macro.mall.model.BmsNarratorThemeExample;

public interface BmsNarratorThemeMapper {

    long countByExample(BmsNarratorThemeExample example);

    int deleteByExample(BmsNarratorThemeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BmsNarratorTheme row);

    int insertSelective(BmsNarratorTheme row);

    List<BmsNarratorTheme> selectByExample(BmsNarratorThemeExample example);

    BmsNarratorTheme selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") BmsNarratorTheme row, @Param("example") BmsNarratorThemeExample example);

    int updateByExample(@Param("row") BmsNarratorTheme row, @Param("example") BmsNarratorThemeExample example);

    int updateByPrimaryKeySelective(BmsNarratorTheme row);

    int updateByPrimaryKey(BmsNarratorTheme row);

    List<BmsNarratorTheme> getByNarratorId(@Param("narratorId") Long narratorId);

    List<BmsNarratorTheme> findList(BmsNarratorThemeParam query);

}
